import Vue from "vue";
import "windi.css";
import "@/styles/vant.less";
import "@/styles/animation.less";
// import touch from "vue-directive-touch";
import App from "./App.vue";
import router from "./router";
import store from "./store";

Vue.config.productionTip = false;

// Vue.use(touch);
if (process.env.VUE_APP_MODE !== "prod") {
  const VConsole = require("vconsole");
  new VConsole();
}

// 高德地图安全密钥
window._AMapSecurityConfig = {
  securityJsCode: "ce411166f4f7e7b6dd20bd98bf07c942",
};

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
